		<table cellpadding="3" cellspacing="1"  id="list-table">
			<tr>
			<#--
				<th>ID</th>
				
				-->
			<th>版本号</th>
			<#--
			<th>修改时间</th>
			<th>生效时间</th>
			<th>失效时间</th>
			-->
			<th>版本模式</th>
			<th>版本类别</th>
			<th>状态</th>
			<#--
			<th>是否生效 </th>
			-->
			<th>应用路径\版本更新原因</th>
			<th>游客可访数</th>
			
			<th>启动画面1</th>
			<th>启动画面2</th>
			<th>启动画面3</th>
			<th>启动画面4</th>
			<th>启动画面5</th>
			<th>闪屏</th>
			<th>创建员工</th>
			<#--
			<th>更新员工</th>
			
			-->
	    	<th>上传时间</th>
			<th>操作</th>
			</tr>
<#if (versionControlList?size>0) >
    <#list  versionControlList as versionControl >
      <tr>
				<#--	<td valign="middel" nowrap="nowrap">  ${(versionControl.versionControlId)?c} </td>
						-->
					<td align="left" valign="middel"  nowrap="nowrap">
					&nbsp;&nbsp;
				 
					<#if (versionControl.version)??>
					${versionControl.version}
					
					</#if> 
					</td>
					<#--
						<td valign="top" nowrap="nowrap">
					<#if (versionControl.modifyTime)??>
					 
					
							${(versionControl.modifyTime)?string("yyyy-MM-dd HH:mm:ss")}
 
					
					</#if>
					</td>
					<td align="center" valign="top" nowrap="nowrap">
					<#if (versionControl.effectTime)??>
				 ${(versionControl.effectTime)?string("yyyy-MM-dd HH:mm:ss")}
				   </#if>
						</td>

				 
				 
				
 
					<td align="center" valign="top" >
					<#if (versionControl.failureTime)??>
					${(versionControl.failureTime)?string("yyyy-MM-dd HH:mm:ss")}
					</#if></td>
				 
					 
		-->
					
						<td align="center" valign="middel"  nowrap="nowrap">
					<#if (versionControl.pattern)??>
				
		 
						 <#if versionControl.pattern=='0' >
							android
						</#if>
						 <#if versionControl.pattern=='1' >
							IOS
						</#if>
						 
				
				
				 </#if>
					</td>
					<#--
						<td align="center" valign="top" nowrap="nowrap">
					<#if (versionControl.reason)??>
					 ${versionControl.reason} 
				 
				 </#if>
					</td>
					-->
						<td align="center" valign="middel"  nowrap="nowrap">
					 
					 <#if (versionControl.updateTag)??>
						 <#if versionControl.updateTag=='2' >
							用户选择
						</#if>
						 <#if versionControl.updateTag=='1' >
							不更新
						</#if>
						<#if versionControl.updateTag=='3' >
							强制更新
						 
						 
						</#if>
					</#if>
					</td>		 
						<td align="center" valign="middel"  nowrap="nowrap">
				 
				 
				  <#if (versionControl.state)??>
						 <#if versionControl.state==1 >
					
							最新
						 
						</#if>
						 <#if versionControl.state==3 >
						
							重大bug
						 
						</#if>
						 <#if versionControl.state==2 >
						
							 历史
						 
						</#if>
						
					 
						</#if>
				 
				 
					</td>
					<#--
						<td align="center" valign="middel"  nowrap="nowrap">
						
					 <#if (versionControl.isactive)??>
						 <#if versionControl.isactive==1 >
					
							生效
						 
						</#if>
						 <#if versionControl.isactive==2 >
						
							 失效
						 
						</#if>
						
					 
						</#if> 
				 
					</td>
 -->
					
					
						<td   valign="top" valign="middel"  nowrap="nowrap">
				
				 <#if (versionControl.appPath)??>
				  路径：${versionControl.appPath}
				  <br>
				  原因 ：
				  
				  <#if (versionControl.reason)??>
				  
				  ${versionControl.reason} 
				   </#if>
				 </#if>
					</td>
					
				
						<td   valign="top" valign="middel"  nowrap="nowrap">
				
				 <#if (versionControl.visiterLimit)??>
				 
				  
				  
				  
				  ${versionControl.visiterLimit} 
				  
				 </#if>
					</td>	 
				
							 
				<td  valign="middel" nowrap="nowrap">
					<#if (versionControl.loadPage1)??>
		
			
				 
				 	<a href="../${versionControl.loadPage1}" > <img src="../${versionControl.loadPage1}" width="30px"></a>
				 	
				
				 </#if>
					  	</td>
				 	<td  valign="middel" nowrap="nowrap">
					<#if (versionControl.loadPage2)??>
			 
				  
			
				 	<a href="../${versionControl.loadPage2}" > <img src="../${versionControl.loadPage2}" width="30px"></a>
					
				 
				 </#if>
					 </td>	<td  valign="middel" nowrap="nowrap">
					<#if (versionControl.loadPage3)??>
			 
				
			
				 	<a href="../${versionControl.loadPage3}" > <img src="../${versionControl.loadPage3}" width="30px"></a>
					</td>
				 	 
				 </#if>
					 <td  valign="middel" nowrap="nowrap">
					<#if (versionControl.loadPage4)??>
			
				 
				 	<a href="../${versionControl.loadPage4}" > <img src="../${versionControl.loadPage4}" width="30px"></a>
				
				 	
				 </#if>
					</td>	
					
					
					 <td  valign="middel" nowrap="nowrap">
					<#if (versionControl.loadPage5)??>
			
				 
				 	<a href="../${versionControl.loadPage5}" > <img src="../${versionControl.loadPage5}" width="30px"></a>
				
				 	
				 </#if>
					</td>	
					
					
					 <td  valign="middel" nowrap="nowrap">
					<#if (versionControl.flashImg1)??>
			
				 
				 	<a href="../${versionControl.flashImg1}" > <img src="../${versionControl.flashImg1}" width="30px"></a>
				
				 	
				 </#if>
					</td>	
					
					
					
							<td align="center" valign="top" nowrap="nowrap">
					<#if (versionControl.user.userName)??>
			 
				 ${versionControl.user.userName }
				 </#if>
					</td>	 
					<#--
						<td align="center" valign="top" nowrap="nowrap">
					<#if (versionControl.updateStaff)??>
			 
				 ${versionControl.updateStaff }
				 </#if>
					</td>
					-->	 
						
 						<td align="center" valign="top" nowrap="nowrap">
						<#if (versionControl.createDate)??>
			 
				 
				 	 ${(versionControl.createDate)?string("yyyy-MM-dd HH:mm:ss")} 
						 </#if>
					</td>	
 
 
  
					<td   align="center">
							<a href="../common/getVersionControlById.action?versionControlId=${(versionControl.versionControlId)?c}">编辑</a>|
						<a  onclick="{if(confirm('你确定要删除吗？')){return true;}return false;}" 
						href="../common/deleteVersionControl.action?versionControlId=${(versionControl.versionControlId)?c}">删除</a>

					</td>
				</tr>
    </#list>
</#if>


</table>
 <script type="text/javascript">
     listTable.action = "ajaxQueryVersionControlList.action";
     listTable.currentPage=${(page.currentPage)?c};
     listTable.pageCount=${(page.totalPage)?c};
     listTable.recordCount=${(page.allRow)?c};
 </script>
<!-- 分页 -->
<table id="page-table" cellspacing="0">
			<tr>
				<td align="right" nowrap="true">
					<div id="turn-page">
					共<span id="totalRecords">${page.allRow} </span>条记录&nbsp; 
					共<span	id="totalPages">${page.totalPage}</span> 页&nbsp;
				当前第<span	id="pageCurrent">${page.currentPage}</span>页&nbsp;  
	     
	     <!--也许可以换种方式，呵呵，不用人工输入，用下拉列表-->
	     每页显示记录条数 <input type='text' size='3' id='pageSize' value="${page.pageSize}" onkeypress="return listTable.changePageSize(event)" />
	   <!--查询动作-->
	    <input type='hidden' size='3' id='action' value="ajaxQueryVersionControlList.action"/>
	       
							
						<span id="page-link">  
						<a	href="javascript:listTable.gotoPageFirst()">第一页</a> 
						<a	href="javascript:listTable.gotoPagePrev()">前一页</a> 
						<a	href="javascript:listTable.gotoPageNext()">下一页</a> 
						<a	href="javascript:listTable.gotoPageLast()">最后一页</a> 
						<select	id="gotoPage" onchange="listTable.gotoPage(this.value)">
						<#assign x=page.totalPage>
						<#assign y=page.currentPage>
						<#list 1 .. x as i>
						<#if y==i >
						    <option value="${(i)?c}" selected="selected">${(i)?c}</option>
						<#else>
							<option value="${(i)?c}" >${(i)?c}</option>
						</#if>
						</#list>
           </select>
        </span>
        </div>
        </td>
        
    </tr>
</table>
